* {
    font-family: 'Montserrat', sans-serif;
    -webkit-transition: all 0.5s linear;
    transition: all 0.5s linear;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
}
a{
    text-decoration: none;
    color:rgb(81, 42, 16);
}
a:hover{
    text-decoration: none;
    color:rgb(122, 49, 0);
}


/* 覆盖样式 */

/* 按钮样式 */
.btn-default{
    background-color: transparent;
    border-radius: 0;
}
.btn-default:hover{
    background-color: #512a10;
    color: #fff;
}

#about,#gallery{
    background-color: #fff;
}
#menu,#reviews,#post{
    background-color: #eee;
}

.page-header{
    border:none;
}



/* 导航部分 */

nav{
    padding: 4rem 0;
}
nav .logo {
    color: #fff;
    font-size: 2rem;
    font-weight: bolder;
    line-height: 3.2rem;
    padding:1rem 1.5rem 0;
    
}
.logo .icon{
    background: url(../images/logo.png) center -0.2rem no-repeat;
    width: 3.2rem;
    height: 3.2rem;
    background-size: contain;
    float: left;
    margin-right: .5rem;
}
nav a.logo {
    font-size: 2rem;
    margin-right: 0.5rem;
    color: #fff;
}
nav .fa-navicon,nav .fa-times,nav .fa-user{
    color:#fff; 
    margin-top:1rem;
}
.fa-times:hover{
    transform:  (180deg);
}

nav.active {
    padding:0;
    /* background: #512a10; */
    background-color:rgba(0,0,0,0.95);
  }
nav .navbar-nav{
    margin:0 3rem;
}
nav .nav a{
    font-size: 1.8rem;
    color: #fff;
}
nav .nav a:hover{
    color: #512a10;
}
nav .container{
    position: relative;
}
nav .toolbar{
    position: absolute;
    right: 0;
    top:0;
}
nav .navbar-toggle{
    margin:0;
}
nav .toolbar .btnuser{
    display: block;
}

/* 登录框 */

.loginform .form-control{
    padding: 1.2rem 1.4rem;
    height: auto;
}

.loginform .form-txt label{
    margin-left:-3.2rem;
    font-weight: normal;
}


/* 焦点图部分 */
.home{
    background-image: url(../images/home-bg.jpg);
    background-color: rgba(0,0,0,0.8);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
.home .jumbotron{
    overflow: hidden;
    padding: 20rem 0;
    background-color: transparent;
}
.home h1{
    color:#fff;
}
.home .btn-default{
    color:#fff;
    margin-top: 3rem;
}

/* 关于部分 */

.about .content{
    padding: 3rem 0;
}
.about .content p{
    line-height: 3.5rem;
}
.about .content .btn{
    margin: 3rem 0;
}
.about .icon-box .icons{
    background-color: #eee;
    padding: 2.5rem 0 0.5rem;
}

/* 菜单部分 */

.menu .thumbnail,.reviews .thumbnail,.post .thumbnail{
    background-color: transparent;
    padding: 3rem 2rem;
    border: none;
}
.menu .thumbnail img,.reviews .thumbnail img{
    height: 15rem;
    border-radius: 50%;
}

.menu .thumbs:hover,.reviews .thumbs:hover,.post .thumbs:hover{
    background: #fff;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    transform: translateY(-1rem);
}

/* 相册部分 */

#gallery{
    padding: 0 0 3rem;
}

#gallery .pics{
    height: 25rem;
    overflow: hidden;
    margin-bottom: 3rem;
}

 

#gallery .pics img{
    height: 25rem;
    width: 100%;
}
#gallery .thumbnail{
    position: relative;
    padding: 0;
    margin: 0;
    border: none;
}
#gallery .thumbnail:hover img{
    transform: translateY(-100%);
}
#gallery .thumbnail .content{
    position: absolute;
    top: 0;
    left: 0;
    border: 0.1rem solid #512a10;
    text-align: center;
    line-height:2.8rem;
    padding: 3rem 2rem;
    height: 100%;
    width: 100%;
    transform: translateY(100%);
}
#gallery .thumbnail:hover .content{
    transform: translateY(0);
}



/* 联系模块 */

#contact{
    margin: 0 0 4rem;
}
#contact .icons{
    border:0.1rem solid #512a10;
    padding: 4rem 2rem 3rem;
}

#contact .info{
    margin-bottom:4rem;
}

#contact h3{
    margin-top:0;
}
#contact iframe{
    height: 39.5rem;
}
#contact .form-control{
    margin: .7rem 0;
    padding: 1.2rem 1.4rem;
    height:auto;
}

/* 文章模块 */

.post{
    padding:0 0 4rem 0;
}
.post .thumbnail{
    padding: 0 0 3rem;
}
.post .imgbox{
    height: 20rem;
    overflow: hidden;
}
.post .thumbs:hover{
    transform: translateY(0);
}
.post .thumbs:hover img{
    transform: scale(0.9);
}

.newsletter{
    background-image: url(../images/newsletter-bg.jpg);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    color:#fff;
    padding: 2rem 0 4rem 0;
}
.newsletter h3{
    font-size: 4rem;
    text-transform: uppercase;
}
.newsletter .input-group-btn{
    background-color: #fff;
}
.newsletter .form-control,.newsletter .btn{
    height: 6rem;
}

footer{
    padding: 2rem 0 4rem 0;
}
footer .icons i.fa{
    height: 4rem;
    width: 4rem;
    line-height: 4rem;
    border: 0.1rem solid #512a10;
    /* font-size: 2rem; */
    color: #512a10;
}




@media (max-width: 991px) {
    html {
      font-size: 55%;
      /* scroll-padding-top: 8rem; */
    }
  }
  
@media (max-width: 768px) {
 
    nav{
        padding: 0;
    }
    nav .navbar-nav{
        background-color: #fff;
    }
    nav a.logo,nav .navbar-toggle{
      padding: 1rem 1.5rem 0;
    }
    nav .navbar-collapse{
        padding:0 .5rem;
        -webkit-transition:none;
        transition:none;
    }
    nav .nav{
        margin:0;
    }
    nav .nav a{
        padding:1rem 1.5rem;
        color: #512a10;
    }


    .home .jumbotron{
        text-align: center;
    }

  }



@media (max-width: 450px) {
    html {
      font-size: 50%;
    }
  }